package com.ly;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
/**
 * 分布式服务配置中心
 * 启动之后进行测试访问配置文件：
 *      http://127.0.0.1:3344/master/config-prod.yml
 *      http://127.0.0.1:3344/master/config-dev.yml
 *      http://127.0.0.1:3344/master/config-test.yml
 */
@EnableConfigServer
@SpringBootApplication
public class ConfigCenterMain3344 {

    public static void main(String[] args) {
        SpringApplication.run(ConfigCenterMain3344.class,args);
    }
}
